package com.eagle.data.bean;

/**
 * Created by gc on 2016/12/25.
 */

public class LiveInfo {
    private int Cmd;

    private int ShowMode;

    private String RoomId;

    public String ChannelId;

    public String Relay;

    public String RtmpUrl;

    public String HlsUrl;

    private int Role;

    private int Mode;

    public LiveInfo(int cmd, int showMode, String roomId, int role, int mode) {
        Cmd = cmd;
        ShowMode = showMode;
        RoomId = roomId;
        Role = role;
        Mode = mode;
    }

    public LiveInfo(int cmd, int showMode, String roomId, String channelId, String relay, String rtmpUrl, String hlsUrl, int role, int mode) {
        Cmd = cmd;
        ShowMode = showMode;
        RoomId = roomId;
        ChannelId = channelId;
        Relay = relay;
        RtmpUrl = rtmpUrl;
        HlsUrl = hlsUrl;
        Role = role;
        Mode = mode;
    }

    public int getCmd() {
        return Cmd;
    }

    public int getShowMode() {
        return ShowMode;
    }

    public String getRoomId() {
        return RoomId;
    }

    public String getChannelId() {
        return ChannelId;
    }

    public String getRelay() {
        return Relay;
    }

    public String getRtmpUrl() {
        return RtmpUrl;
    }

    public String getHlsUrl() {
        return HlsUrl;
    }

    public int getRole() {
        return Role;
    }

    public int getMode() {
        return Mode;
    }

    @Override
    public String toString() {
        return "LiveInfo{" +
                "Cmd=" + Cmd +
                ", ShowMode=" + ShowMode +
                ", RoomId='" + RoomId + '\'' +
                ", ChannelId=" + ChannelId +
                ", Relay='" + Relay + '\'' +
                ", RtmpUrl='" + RtmpUrl + '\'' +
                ", HlsUrl='" + HlsUrl + '\'' +
                ", Role=" + Role +
                ", Mode=" + Mode +
                '}';
    }
}
